<div class="row">
    <ul class="nav nav-tabs m-l-15">
        <li class="active"><a href="#tab1" data-toggle="tab">客户设置</a></li>
        <li><a href="#tab2" data-toggle="tab">标签设置</a></li>
        <li><a href="#tab5" data-toggle="tab" data="1" onclick="clickTabFenG(this)">大搜推广分配配置</a></li>
        <li><a href="#tab6" data-toggle="tab" data="1" onclick="clickTabTuiG(this)">大搜推广推送配置</a></li>
        <li><a href="#tab3" data-toggle="tab" data="2" onclick="clickTabFen(this)">信息流推广分配配置</a></li>
        <li><a href="#tab4" data-toggle="tab" data="2" onclick="clickTabTui(this)">信息流推广推送配置</a></li>
    </ul>
    <div class="tab-content p-t-2">
        <div class="tab-pane fade active in" id="tab1">
            <div class="col-md-3 col-sm-3 ">
                <table class="table table-bordered table-striped">
                    <caption class="text-center">客户阶段跟踪设置</caption>
                    <thead><tr><th class="text-center ">阶段</th><th class="text-center">名称</th></tr></thead>
                    <tbody id="sale_track_tbody"></tbody>
                </table>
            </div>
            <div class=" col-md-3 col-sm-3 ">
                <table class="table table-bordered table-striped">
                    <caption class="text-center">进入公海资源时间设置(大资源)</caption>
                    <thead><tr><th class="text-center ">资源</th><th class="text-center ">时间(天)</th><th class="text-center ">状态</th></tr></thead>
                    <tbody id="big_tbody">
                    </tbody>
                </table>
            </div>
            <div class=" col-md-3 col-sm-3">
                <table class="table table-bordered table-striped">
                    <caption class="text-center">进入公海资源时间设置(推广资源)</caption>
                    <thead><tr><th class="text-center ">资源</th><th class="text-center ">时间(天)</th><th class="text-center ">状态</th></tr></thead>
                    <tbody id="exemp_tbody"></tbody>
                </table>
            </div>
            <div class=" col-md-3 col-sm-3">
                <table class="table table-bordered table-striped">
                    <caption class="text-center">进入公海资源时间设置(Ai资源)</caption>
                    <thead><tr><th class="text-center ">资源</th><th class="text-center ">时间(天)</th><th class="text-center ">状态</th></tr></thead>
                    <tbody id="ai_tbody"></tbody>
                </table>
            </div>
        </div>
        <div class="tab-pane fade" id="tab2">
            <div class="col-md-2 col-sm-2 col-xs-12 height-600 p-l-0 p-r-0" style="border: 1px #d4deee solid;">
                <div class="x_panel">
                    <div class="x_title p-l-15 p-r-2 border-bottom-1">
                        <button type="button" class="btn btn-white m-r-3 m-b-3 pull-right m-t-3" onclick="loadCreateGrouping()">
                            <h5 class="m-0">创建分组</h5></button>
                        <h5 class="pull-left">标签分组</h5>
                        <div class="clearfix"></div>
                    </div>
                    <div class="x_content">
                        <div class="vertical-box-column p-15 bg-silver width-300 p-t-0 p-b-0" style="background-color: white !important;">
                            <div class="fc-event-list menu_div" id="sale-tagGroup-list"></div>
                        </div>
                    </div>
                    <div class="clearfix"></div>
                </div>
            </div>
            <div class="col-md-8 col-sm-8 col-xs-12 height-600 p-10" style="border: 1px #d4deee solid;">
                <input type="hidden" value="" id="sale-tag-selectid" />
                <input type="hidden" value="" id="sale-tag-nameid" />
                <input type="hidden" value="" id="sale-tag-upid" />
                <div class="panel panel-inverse" data-sortable-id="ui-widget-3">
                    <div class="panel-heading" style="background-color: #edf2fa">
                        <div class="btn-group pull-right" data-toggle="buttons">
                            <div class="checkbox m-t-0">
                                <label class="btn btn-link btn-xs" id="multiLabel" onclick="multiLabel();">
                                    <input type="checkbox" id="multicheckBox" name="multicheckBox" class="red" disabled value="" /> 允许多选
                                </label>
                                <label class="btn btn-link btn-xs" onclick="loadCreateTag();">添加标签</label>
                            </div>
                        </div>
                        <h4 class="panel-title" id="tagGroupTitle" style="color: #1c2d3f"></h4>
                    </div>
                    <div class="panel-body">
                        <ul id="sale-tag-lists" style="list-style:none;"></ul>
                    </div>
                </div>
            </div>
        </div>
        <div class="tab-pane fade" id="tab5">
             <div class="col-md-2 col-sm-2 col-xs-2 height-600 p-l-0 p-r-0" style="border-left: 1px #d4deee solid;">
                <div class="panel panel-inverse" >
                    <div class="panel-heading" style="background-color: #edf2fa">
                        <div class="btn-group pull-right">
                            <button type="button" class="btn btn-success btn-xs">新建模板</button>
                            <button type="button" class="btn btn-success btn-xs dropdown-toggle" data-toggle="dropdown">
                                <span class="caret"></span>
                            </button>
                            <ul class="dropdown-menu width-100" role="menu">
                                <li onclick="selectInternAddG(this)" data-click="自学考试"><a href="#">自学考试</a></li>
                                <li onclick="selectInternAddG(this)" data-click="普通专升本"><a href="#">普通专升本</a></li>
                                <li onclick="selectInternAddG(this)" data-click="考研辅导"><a href="#">考研辅导</a></li>
                                <li onclick="selectInternAddG(this)" data-click="在职研"><a href="#">在职研</a></li>
                                <li onclick="selectInternAddG(this)" data-click="教师资格证"><a href="#">教师资格证</a></li>
                                <li onclick="selectInternAddG(this)" data-click="英语等级"><a href="#">英语等级</a></li>
                                <li onclick="selectInternAddG(this)" data-click="计算机等级"><a href="#">计算机等级</a></li>
                                <li onclick="selectInternAddG(this)" data-click="成考辅导"><a href="#">成考辅导</a></li>
                                <li onclick="selectInternAddG(this)" data-click="网教统考"><a href="#">网教统考</a></li>
                                <li onclick="selectInternAddG(this)" data-click="总裁班"><a href="#">总裁班</a></li>
                                <li onclick="selectInternAddG(this)" data-click="出国留学"><a href="#">出国留学</a></li>
                                <li onclick="selectInternAddG(this)" data-click="自考省外"><a href="#">自考省外</a></li>
                                <li onclick="selectInternAddG(this)" data-click="健康管理师"><a href="#">健康管理师</a></li>
                                <li onclick="selectInternAddG(this)" data-click="5G培训"><a href="#">5G培训</a></li>
                                <li onclick="selectInternAddG(this)" data-click="海南自考"><a href="#">海南自考</a></li>
                            </ul>
                        </div>
                        <h4 class="panel-title" style="color: #1c2d3f">意向模板</h4>
                    </div>
                    <div class="panel-body p-t-5 ">
                        <div class="vertical-box-column width-300" >
                            <div id="exaddG" class="fc-event-list menu_div" ></div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="col-md-2 col-sm-2 col-xs-2 height-600 p-l-0 p-r-0" style="border-left: 1px #d4deee solid;">
                <div class="panel panel-inverse" data-sortable-id="ui-widget-3">
                    <div class="panel-heading" style="background-color: #edf2fa">
                        <h4 class="panel-title" style="color: #1c2d3f"> 选择部门</h4>
                    </div>
                    <div class="panel-body height-550 overflow-auto"><div id="deptjsTree_jsonG"></div></div>
                </div>
            </div>
            <div class="col-md-4 col-sm-4 col-xs-2 height-600 p-l-0 p-r-0" style="border-left: 1px #d4deee solid;">
                <div class="panel panel-inverse" data-sortable-id="ui-widget-3">
                    <div class="panel-heading" style="background-color: #edf2fa">
                        <h4 class="panel-title" style="color: #1c2d3f"> 模板配置</h4>
                    </div>
                    <div class="panel-body height-500 overflow-auto">
                        <input type="hidden" id="exConfig_form_idG" value="">
                        <form class="form-horizontal form-bordered" data-parsley-validate="true" id="exConfig_formG"></form>
                    </div>
                </div>
            </div>
            <div class="col-md-4 col-sm-4 col-xs-2 height-600 p-l-0 p-r-0" style="border-left: 1px #d4deee solid;">
                <div class="panel panel-inverse" data-sortable-id="ui-widget-3">
                    <div class="panel-heading" style="background-color: #edf2fa">
                        <h4 class="panel-title" style="color: #1c2d3f"> 轮次数量配置</h4>
                    </div>
                    <div class="panel-body height-500 overflow-auto">
                        <form class="form-horizontal form-bordered" data-parsley-validate="true" id="grad_form"></form>
                    </div>
                    <div class="panel-footer ">
                        <a href="javascript:;" class="btn btn-sm btn-danger pull-right m-3" onclick="saveExConfigG()">保存</a>
                        <a href="javascript:;" class="btn btn-sm btn-white pull-right m-3" data-dismiss="modal">取消</a>
                        <div class="clearfix"></div>
                    </div>
                </div>
            </div>
        </div>
        <div class="tab-pane fade" id="tab6">
             <div class="col-md-2 col-sm-2 col-xs-2 height-600 p-l-0 p-r-0" style="border-left: 1px #d4deee solid;">
                <div class="panel panel-inverse" >
                    <div class="panel-heading" style="background-color: #edf2fa">
                        <h4 class="panel-title" style="color: #1c2d3f">模板配置</h4>
                    </div>
                    <div class="panel-body p-t-5 ">
                        <div class="vertical-box-column width-300" >
                            <div  class="fc-event-list" id="InterConfigG" ></div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="col-md-2 col-sm-2 col-xs-2 height-600 p-l-0 p-r-0" style="border-left: 1px #d4deee solid;">
                <div class="panel panel-inverse" data-sortable-id="ui-widget-3">
                    <div class="panel-heading" style="background-color: #edf2fa">
                        <h4 class="panel-title" style="color: #1c2d3f"> 选择部门</h4>
                    </div>
                    <div class="panel-body height-550 overflow-auto p-0">
                        <div class="vertical-box-column p-15 bg-silver width-200">
                            <div  class="fc-event-list" id="deptListExtG"></div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="col-md-8 col-sm-8 col-xs-8 height-600 p-l-0 p-r-0" style="border-left: 1px #d4deee solid;">
                <div class="panel panel-inverse" data-sortable-id="ui-widget-3">
                    <div class="panel-heading" style="background-color: #edf2fa;height: 40px;">
                        <h4 class="panel-title " style="color: #1c2d3f" > <span class="pull-left">人员选择</span></h4>
                    </div>
                    <div class="panel-body height-500 overflow-auto">
                        <div id="userDingjsTree_jsonG"></div>
                    </div>
                    <div class="panel-footer ">
                        <a href="javascript:;" onclick="saveInternDingG()" class="btn btn-sm btn-danger pull-right m-3" >保存</a>
                        <div class="clearfix"></div>
                    </div>
                </div>
            </div>
        </div>
        <div class="tab-pane fade" id="tab3">
            <div class="col-md-2 col-sm-2 col-xs-2 height-600 p-l-0 p-r-0" style="border-left: 1px #d4deee solid;">
                <div class="panel panel-inverse" >
                    <div class="panel-heading" style="background-color: #edf2fa">
                        <div class="btn-group pull-right">
                            <button type="button" class="btn btn-success btn-xs">新建模板</button>
                            <button type="button" class="btn btn-success btn-xs dropdown-toggle" data-toggle="dropdown">
                                <span class="caret"></span>
                            </button>
                            <ul class="dropdown-menu width-100" role="menu">
                                <li onclick="selectInternAdd(this)" data-click="自学考试"><a href="#">自学考试</a></li>
                                <li onclick="selectInternAdd(this)" data-click="普通专升本"><a href="#">普通专升本</a></li>
                                <li onclick="selectInternAdd(this)" data-click="考研辅导"><a href="#">考研辅导</a></li>
                                <li onclick="selectInternAdd(this)" data-click="在职研"><a href="#">在职研</a></li>
                                <li onclick="selectInternAdd(this)" data-click="教师资格证"><a href="#">教师资格证</a></li>
                                <li onclick="selectInternAdd(this)" data-click="英语等级"><a href="#">英语等级</a></li>
                                <li onclick="selectInternAdd(this)" data-click="计算机等级"><a href="#">计算机等级</a></li>
                                <li onclick="selectInternAdd(this)" data-click="成考辅导"><a href="#">成考辅导</a></li>
                                <li onclick="selectInternAdd(this)" data-click="网教统考"><a href="#">网教统考</a></li>
                                <li onclick="selectInternAdd(this)" data-click="总裁班"><a href="#">总裁班</a></li>
                                <li onclick="selectInternAdd(this)" data-click="出国留学"><a href="#">出国留学</a></li>
                                <li onclick="selectInternAdd(this)" data-click="自考省外"><a href="#">自考省外</a></li>
                                <li onclick="selectInternAdd(this)" data-click="健康管理师"><a href="#">健康管理师</a></li>
                                <li onclick="selectInternAdd(this)" data-click="5G培训"><a href="#">5G培训</a></li>
                                <li onclick="selectInternAdd(this)" data-click="海南自考"><a href="#">海南自考</a></li>
                            </ul>
                        </div>
                        <h4 class="panel-title" style="color: #1c2d3f">意向模板</h4>
                    </div>
                    <div class="panel-body p-t-5 ">
                        <div class="vertical-box-column width-300" >
                            <div id="exadd" class="fc-event-list menu_div" ></div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="col-md-2 col-sm-2 col-xs-2 height-600 p-l-0 p-r-0" style="border-left: 1px #d4deee solid;">
                <div class="panel panel-inverse" data-sortable-id="ui-widget-3">
                    <div class="panel-heading" style="background-color: #edf2fa">
                        <h4 class="panel-title" style="color: #1c2d3f"> 选择部门</h4>
                    </div>
                    <div class="panel-body height-550 overflow-auto"><div id="deptjsTree_json"></div></div>
                </div>
            </div>
            <div class="col-md-8 col-sm-8 col-xs-8 height-600 p-l-0 p-r-0" style="border-left: 1px #d4deee solid;">
                <div class="panel panel-inverse" data-sortable-id="ui-widget-3">
                    <div class="panel-heading" style="background-color: #edf2fa">
                        <h4 class="panel-title" style="color: #1c2d3f"> 模板内容</h4>
                    </div>
                    <div class="panel-body height-500 overflow-auto">
                        <input type="hidden" id="exConfig_form_id" value="">
                        <form class="form-horizontal form-bordered" data-parsley-validate="true" id="exConfig_form"></form>
                    </div>
                    <div class="panel-footer ">
                        <a href="javascript:;" class="btn btn-sm btn-danger pull-right m-3" onclick="saveExConfig()">保存</a>
                        <a href="javascript:;" class="btn btn-sm btn-white pull-right m-3" data-dismiss="modal">取消</a>
                        <div class="clearfix"></div>
                    </div>
                </div>
            </div>
        </div>
        <div class="tab-pane fade" id="tab4">
            <div class="col-md-2 col-sm-2 col-xs-2 height-600 p-l-0 p-r-0" style="border-left: 1px #d4deee solid;">
                <div class="panel panel-inverse" >
                    <div class="panel-heading" style="background-color: #edf2fa">
                        <div class="btn-group pull-right">
                            <button type="button" class="btn btn-success btn-xs">新建模板</button>
                            <button type="button" class="btn btn-success btn-xs dropdown-toggle" data-toggle="dropdown">
                                <span class="caret"></span>
                            </button>
                            <ul class="dropdown-menu width-100" >
                                <li onclick="selectInternConfig(this)" data-click="自学考试"><a href="#">自学考试</a></li>
                                <li onclick="selectInternConfig(this)" data-click="普通专升本"><a href="#">普通专升本</a></li>
                                <li onclick="selectInternConfig(this)" data-click="考研辅导"><a href="#">考研辅导</a></li>
                                <li onclick="selectInternConfig(this)" data-click="在职研"><a href="#">在职研</a></li>
                                <li onclick="selectInternConfig(this)" data-click="教师资格证"><a href="#">教师资格证</a></li>
                                <li onclick="selectInternConfig(this)" data-click="英语等级"><a href="#">英语等级</a></li>
                                <li onclick="selectInternConfig(this)" data-click="计算机等级"><a href="#">计算机等级</a></li>
                                <li onclick="selectInternConfig(this)" data-click="成考辅导"><a href="#">成考辅导</a></li>
                                <li onclick="selectInternConfig(this)" data-click="网教统考"><a href="#">网教统考</a></li>
                                <li onclick="selectInternConfig(this)" data-click="总裁班"><a href="#">总裁班</a></li>
                                <li onclick="selectInternConfig(this)" data-click="出国留学"><a href="#">出国留学</a></li>
                                <li onclick="selectInternConfig(this)" data-click="自考省外"><a href="#">自考省外</a></li>
                                <li onclick="selectInternConfig(this)" data-click="健康管理师"><a href="#">健康管理师</a></li>
                                <li onclick="selectInternConfig(this)" data-click="5G培训"><a href="#">5G培训</a></li>
                                <li onclick="selectInternConfig(this)" data-click="海南自考"><a href="#">海南自考</a></li>
                            </ul>
                        </div>
                        <h4 class="panel-title" style="color: #1c2d3f">模板配置</h4>
                    </div>
                    <div class="panel-body p-t-5 ">
                        <div class="vertical-box-column width-300" >
                            <div  class="fc-event-list" id="InterConfig" ></div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="col-md-2 col-sm-2 col-xs-2 height-600 p-l-0 p-r-0" style="border-left: 1px #d4deee solid;">
                <div class="panel panel-inverse" data-sortable-id="ui-widget-3">
                    <div class="panel-heading" style="background-color: #edf2fa">
                        <h4 class="panel-title" style="color: #1c2d3f"> 选择部门</h4>
                    </div>
                    <div class="panel-body height-550 overflow-auto p-0">
                        <div class="vertical-box-column p-15 bg-silver width-200">
                            <div  class="fc-event-list" id="deptListExt"></div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="col-md-8 col-sm-8 col-xs-8 height-600 p-l-0 p-r-0" style="border-left: 1px #d4deee solid;">
                <div class="panel panel-inverse" data-sortable-id="ui-widget-3">
                    <div class="panel-heading" style="background-color: #edf2fa">
                        <h4 class="panel-title " style="color: #1c2d3f" > <span class="pull-left">人员选择</span>
                            <div id="selectDiffBut" class="pull-left">
                                <button type="button" onclick="changeTuiSongConfig(this)" data="1"  class="m-l-30 btn btn-xs btn-success">部门正常</button>
                            </div>
                            <div id="selectDiffButInter" class="pull-left">
                                <button type="button" onclick="changeInternConfig(this)" data="1"  class="m-l-30 btn btn-xs btn-success">项目正常</button>
                            </div>
                            <div class="clearfix"></div>
                        </h4>
                    </div>
                    <div class="panel-body height-500 overflow-auto">
                        <div id="userDingjsTree_json"></div>
                    </div>
                    <div class="panel-footer ">
                        <a href="javascript:;" onclick="saveInternDing()" class="btn btn-sm btn-danger pull-right m-3" >保存</a>
                        <div class="clearfix"></div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<div class="modal fade" id="sale-modal" data-keyboard="false" data-backdrop="static" tabindex="-1"></div>
<script data-th-src="@{js/app/system/sale/sale.js}"></script>
<script data-th-src="@{js/app/system/sale/sale_option.js}"></script>
<script data-th-src="@{js/app/system/sale/mudal_index.js}"></script>
<script data-th-src="@{js/app/system/sale/sale_grade.js}"></script>